package edu.stanford.cs.cs294s;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ScrollView;
import android.widget.TextView;

public class LocationFacts extends Activity{
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        ScrollView sv = new ScrollView(this);
        TextView textview = new TextView(this);
        sv.addView(textview);
        String facts = this.getIntent().getExtras().getString("facts");
        String factlist = facts.replaceAll("#", "\n\n");
        textview.setText(factlist);
        setContentView(sv);
    }
}
